package com.oa.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 任务表的pojo类
 *
 * @Author: 一拳超人
 * @Date: 2021/10/2 10:46
 */
@TableName("task")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Task implements Serializable {
    private static final long serialVersionUID = 4989004331319682639L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String taskName;
    private Integer parentId;
    private String releaseId;
    private String releaseName;
    private Integer empId;
    private Integer depId;
    private Date createTime;
    private Date updateTime;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date endTime;
    private Date deadlineTime;
    private Integer taskStatus;
    private String taskDescribe;
    @TableField(exist = false)
    private List<String> fileList;
}
